angular.module('furion.core.route.home', [])

.config ($stateProvider, $urlRouterProvider, $ionicConfigProvider) ->
  $stateProvider

  .state 'app.home',
    url: '/home'
    views: 'home':
      templateUrl: 'templates/tabs/tab-home.html'
      controller: 'HomeCtrl'

  .state 'dynamic-detail',
    url: '/dynamic-detail/:type/:id'
    params: {id: null, type: null}
    templateUrl: 'templates/dynamic/dynamic-detail.html'
    controller: 'DynamicDetailCtrl'

  

  # if none of the above states are matched, use this as the fallback
  # $urlRouterProvider.otherwise '/welcome'

  return # .config ($stateProvider, $urlRouterProvider) ->
